#include <vector>
#include <queue>
#include <cstdlib>
#include <iostream>

struct cmp_first_big {
    constexpr bool operator()(std::pair<int, int> const &a,
                              std::pair<int, int> const &b) const noexcept {
        return a.first < b.first;
    }
};

int main() {
    for (int i = 0; i < 10; i++) {
        {
            printf("%d\n", i);
            if (i == 5) {
                break;
            }
        }
    }


    return 0;
}